|
|
|
|
Joined: Aug 2000
Posts: 3,590 Likes: 1
Moderator
|
|
Moderator
Joined: Aug 2000
Posts: 3,590 Likes: 1 |
If your server is in the place you are trying to retrieve the time from: ------------------  :: Who is Andy?
|
|
|
|
|
Joined: Aug 2000
Posts: 37
Member
|
|
Member
Joined: Aug 2000
Posts: 37 |
umm... i dont think that this will be on a local computer... if its not.. whats the code that i have to put? ------------------ check out my site at http://www.ultimategamers2000.com
|
|
|
|
|
Joined: Aug 2000
Posts: 3,590 Likes: 1
Moderator
|
|
Moderator
Joined: Aug 2000
Posts: 3,590 Likes: 1 |
You would have to write a routine to subtract/add the proper amount of hours. ------------------  :: Who is Andy?
|
|
|
|
|
Joined: May 2000
Posts: 243
Member
|
|
Member
Joined: May 2000
Posts: 243 |
To add or subtract hours off your servers timezone do something like this: my @time = localtime(time+(3600*-2)); That would subtract 2 hours... or it should lol ------------------ Powered by ZCom Bulletin Boards
|
|
|
|
|
Joined: Aug 2000
Posts: 37
Member
|
|
Member
Joined: Aug 2000
Posts: 37 |
ummm.. it doesnt seem like that works on a win 98/apache server..... but it does work on s unix server.... y? ------------------ check out my site at http://www.ultimategamers2000.com
|
|
|
|
|
Joined: May 2000
Posts: 243
Member
|
|
Member
Joined: May 2000
Posts: 243 |
Course it does. I run my scripts on my win98/apache machine and it works ------------------ Powered by ZCom Bulletin Boards
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 21,080
Joined: March 2000
|
|
|
Forums63
Topics37,583
Posts293,955
Members13,824
| |
Most Online151,614 Nov 14th, 2025
|
|
Currently Online 346
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 23
|
|
|
|
|
|